package com.myimooc.shiro.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @className: ShiroWebApplication
 * @description: SpirngBoot集成Shiro
 * @date: 2020/5/12
 * @author: cakin
 */
@SpringBootApplication
@MapperScan("com.myimooc.shiro.web.dao")
// 在配置类上添加@EnableAspectJAutoProxy注解，开启注解版的AOP功能
@EnableAspectJAutoProxy
public class ShiroWebApplication {

    public static void main( String[] args ) {
        SpringApplication.run(ShiroWebApplication.class, args);
    }
}
